import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/components/Main'
import Index from '@/components/Index'
import Choose from '@/components/Choose'
import AddIndex from '@/components/AddIndex'
import Upload from '@/components/Upload'
import TypeOne from '@/components/TypeOne'
import TypeTwo from '@/components/TypeTwo'
import Example from '@/components/Example'
import ShowType from '@/components/ShowType'
import ShowOne from '@/components/ShowOne'
import ShowTwo from '@/components/ShowTwo'






Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component: Main
    },
    {
      path: '/index',
      name: 'Index',
      component: Index
    },
    {
      path: '/choose',
      name: 'Choose',
      component: Choose
    },
    {
      path: '/addIndex',
      name: 'AddIndex',
      component: AddIndex
    },
    {
      path: '/upload',
      name: 'Upload',
      component: Upload
    },
    {
      path: '/typeOne',
      name: 'TypeOne',
      component: TypeOne
    },
    {
      path: '/typeTwo',
      name: 'TypeTwo',
      component: TypeTwo
    },
    {
      path: '/example',
      name: 'Example',
      component: Example
    },
    {
      path: '/showType',
      name: 'ShowType',
      component: ShowType
    },
    {
      path: '/showOne',
      name: 'ShowOne',
      component: ShowOne
    },
    {
      path: '/showTwo',
      name: 'ShowTwo',
      component: ShowTwo
    }
  ]
})
